/*           Copyright(c) 2005-2008 Dave Sexton            *
 *                   HtmlEditor Control                    *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
using System.Runtime.InteropServices.ComTypes;

namespace DaveSexton.Controls.Native
{
	[Guid("7FD52380-4E07-101B-AE2D-08002B2EC713")]
	[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	internal interface IPersistStreamInit : IPersist
	{
		new void GetClassID(out Guid pClassID);

		[PreserveSig]
		[return: MarshalAs(UnmanagedType.I4)]
		int IsDirty();

		void Load([In] IStream pStm);

		void Save([In] IStream pStm, int fClearDirty);

		void GetSizeMax(out ULARGE_INTEGER[] pcbSize);

		[PreserveSig]
		[return: MarshalAs(UnmanagedType.I4)]
		int InitNew();
	}}
